import { RouteRecordRaw } from 'vue-router'
import Login from '@/components/login/Login/index.vue'
import sys from './sys'
import login from './login'
import user from './user'
import rbac from './rbac'
import { ForbiddenRoute, NotFoundRoute } from '@/components/Error'

export const routes: Array<RouteRecordRaw> = [
  { path: '', redirect: '/user/User/page' },
  { path: '/Login', meta: { any: true, menu: false, title: '登录' }, component: Login },
  sys,
  user,
  login,
  rbac,
  ForbiddenRoute,
  NotFoundRoute,
]
